* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
}

#head {
    position: relative;
    margin: 0;
    padding: 0;

}

#head img {
    height: 200px;
    width: 100%;
}

#head .headsp1{
    color: white;
    font-size: 40px;
    left: 8px;
    top: 8px;
    position: absolute;

}
#head .headsp2{
    color: white;
    font-size: 40px;
    right: 8px;
    top: 8px;
    position: absolute;

}


#onecontainer {
  
    overflow: hidden;
}

#d1 {
    
    float: left;
    width: 30%;
    margin-left: 20%;
}

#d1 p{
    font-size: 20px;

}
#d1 img{
    max-width: 200px;
    border-radius: 50%;
}
#d2 {
    text-align: center;
    margin-top: 200px;
    width: 35%;
    position: relative;
    
    margin-right: 100px;
    float: right;
    margin-right: 15%;
   
}

#d2 img {
    margin: auto;
    border-radius: 10px;
    max-width: 400px;
    display: none;
}

#d2 a {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    font-size: 30px;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    top: 50%;
    cursor: pointer;

}

#d2 a.left {
    left: 0px;
    
}

#d2 a.right {
    right: 0;
   
}

#d2 span {
    cursor: pointer;
    display: inline-block;
    
    margin-left: 10px;
    border-radius: 50%;
    background-color: gray;
    opacity: 0.7;
    padding: 8px;
}
#d2 span:hover{
    opacity: 0.2;
}
#twocontainer li{
    text-align: center;
    display: inline-block;
    margin-left: 130px;
    
}
#twocontainer .twoimg:hover{
    max-width: 350px;
    opacity: 0.7;
}
#twocontainer .twoimg{
    cursor: pointer;
    transition: max-width;
    transition-duration: 0.3s;
    transition-timing-function: linear;
    border-radius: 10px;
    max-width: 300px;
}
#twocontainer div{
    z-index: 1;
    text-align: center;
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);


}
#twocontainer h1{
    margin-left: 40%;
    margin-top: 100px;
}
#twocontainer {
   
    margin: 0;
    padding: 0;
    list-style: none;
}
#twocontainer span{
    cursor: pointer;
    font-size: 50px;
    position: absolute;
    right: 50px;
    top: 80px;
    color: white;
}
#twocontainer p{
    color: white;
    font-size: 25px;
    font-weight: bolder;
    font-style: italic;
}
#twocontainer h3{
    font-style: italic;
    
}
#twocontainer .limg{
   
    max-width: 400px;
    margin-top: 200px;
    animation-name: limg;
    animation-duration: 1s;
    animation-timing-function: linear;
    
}
#btn{
    background-color: black;
    color: white;
    padding: 30px;
    border: 0;
    font-size: 30px;
    font-style: italic;
    font-weight: bolder;
}
#reading{
    transition: width;
    transition-duration: 0.3s;
    transition-timing-function: linear;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1;
    overflow: auto;
}
.sp2{
    position: absolute;
    top: 80px;
    right: 50px;
    font-size: 80px;
    color: white;
    font-weight: bolder;
}
.threeimg img{
    display: block;
    margin: auto;
    max-width: 300px;
    margin-top:40px;
    border-radius: 10px;
}

.person p {
    text-align: center;
    margin: auto;
    color: white;
    font-size: 40px;
    font-weight: bolder;
}


@keyframes limg{
    0%{
        max-width: 0;
    }
    100%{
        max-width: 400px;
    }
}

#threecontainer{
    margin-top: 100px;
    margin-left: 10%;
}
.begin-animate {
    position: fixed;
    left: 0;
    top: 0;
    background-color: antiquewhite;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.begin-animate ul {
    margin: auto;
    margin-top: 20%;
    list-style: none;
    width: 70%;
}

.begin-animate li {
    border-radius: 14px;


    border: 4px solid red;
}

.begin-animate p {
    border-radius: 12px;

    font-size: 30px;
    color: white;
    width: 200px;
    margin: 0;
    height: 50px;
    background-color: aqua;
    animation: panimate 3s ease 1 running;
}

.begin-sq {
    position: absolute;

    width: 70px;
    height: 70px;

    animation: begin-animate 2s linear infinite running;
}

.d21 {
    background-color: aliceblue;
    right: 100px;
    top: 50px;
}

.d22 {
    background-color: pink;
    right: 200px;
    top: 50px;
}

.d23 {
    background-color: brown;
    right: 300px;
    top: 50px;
}

@keyframes panimate {
    0% {
        width: 200px;
    }

    100% {
        width: 100%;
    }
}

@keyframes begin-animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}